package com.iov.fence.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 围栏信息对象 tb_fence
 * 
 * @author ruoyi
 * @date 2023-11-23
 */
public class TbFence extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 围栏名称 */
    @Excel(name = "围栏名称")
    private String fenceName;

    /** 围栏类型 */
    @Excel(name = "围栏类型")
    private String fenceType;

    /** 围栏状态 */
    @Excel(name = "围栏状态")
    private Long fenceStatus;

    /** 围栏坐标 */
    @Excel(name = "围栏坐标")
    private String fenceCoordinate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFenceName(String fenceName) 
    {
        this.fenceName = fenceName;
    }

    public String getFenceName() 
    {
        return fenceName;
    }
    public void setFenceType(String fenceType) 
    {
        this.fenceType = fenceType;
    }

    public String getFenceType() 
    {
        return fenceType;
    }
    public void setFenceStatus(Long fenceStatus) 
    {
        this.fenceStatus = fenceStatus;
    }

    public Long getFenceStatus() 
    {
        return fenceStatus;
    }
    public void setFenceCoordinate(String fenceCoordinate) 
    {
        this.fenceCoordinate = fenceCoordinate;
    }

    public String getFenceCoordinate() 
    {
        return fenceCoordinate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fenceName", getFenceName())
            .append("fenceType", getFenceType())
            .append("fenceStatus", getFenceStatus())
            .append("fenceCoordinate", getFenceCoordinate())
            .toString();
    }
}
